//数据
const msgStore = {
    state: {
        messages: [],
    },
    actions: {
        msgDetailAction(currentState, action) {
            currentState.messages = action.payload;
        },
    },
    asyncActions: {
    },
    actionNames: {}
}

let totalActionNames = {};
for(let key in msgStore.actions) {
    totalActionNames[key] = key;
}
msgStore.actionNames = totalActionNames;

export default msgStore;